<!DOCTYPE html>
<html>
<head>
<?php
echo $this->headTitle();
?>

<link href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css" rel="stylesheet" type="text/css" />

<link rel="stylesheet" href="http://code.jquery.com/mobile/1.0a4/jquery.mobile-1.0a4.min.css" />
<script src="http://code.jquery.com/jquery-1.4.4.min.js"></script>
<script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js"></script>
<script src="http://code.jquery.com/mobile/1.0a4/jquery.mobile-1.0a4.min.js"></script>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> 
</head>

<body>

<?php
$title = $this->title;
if ($this->title == '')
{
    $title = 'cookingwithgas';
}
?>

<div data-role="page">
<div data-role="header"><h1><?= $title ?></h1></div>
<div data-role="content">

<?php 
$config = Zend_Registry::get('config');
$footer_url = $config->base_url;
echo $this->layout()->content;
?>

</div>

<div data-role="footer" data-id="recipefooter data-position="fixed">
    <a href="<?= $footer_url ?>" data-role="button" rel="external">Home</a>
</div>

</body>
</html>
